<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    tr,th,td{
      padding: 5px;
      border: 1px solid #000;
    }
    .green {background-color: green;}
    .red {background-color: red;}
  </style>
</head>
<body>
  <table>
    <tr>
      <th>账号</th>
      <th>密码</th>
      <th>时间</th>
    </tr>
    <tbody>
      <% for(let item of result){ %>
        <tr>
        <td><%= item.username %></td>
        <td><%= item.password %></td>
        <td><%= item.time %></td>
      </tr>
      <% } %>
    </tbody>
  </table>
</body>
</html>